package com.ruoyi.swla2.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水质检测仪档案对象 dw_terminals_wq
 *
 * @author gdqt
 * @date 2024-09-09
 */
public class TerminalsWq extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Long ID;

    /**
     * 设备归属水司
     */
    @Excel(name = "设备归属水司")
    private String tenantId;

    /**
     * 设备MN号
     */
    @Excel(name = "设备MN号")
    private String mn;

    /**
     * 区域编号
     */
    @Excel(name = "区域编号")
    private String areaCode;

    /**
     * 监测站点名称
     */
    @Excel(name = "监测站点名称")
    private String monStationsName;

    /**
     * 安装日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date installDate;

    /**
     * 安装地址
     */
    @Excel(name = "安装地址")
    private String installationAddress;

    /**
     * 出厂日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date manufactureDate;

    /**
     * 采集频率(分钟)
     */
    @Excel(name = "采集频率(分钟)")
    private Long readingFrequency;

    /**
     * 上传频率(分钟)
     */
    @Excel(name = "上传频率(分钟)")
    private Long upFrequency;

    /**
     * 删除标志(0：否，1：是)
     */
    @Excel(name = "删除标志(0：否，1：是)")
    private Long deleteMark;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private String lng;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private String lat;

    /**
     * 位置-定位控件用
     */
    @Excel(name = "位置-定位控件用")
    private String lngLatTemp;

    /**
     * 入库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sysTime;

    /**
     * 实时数据
     */
    private WqRealtimegatherdata realtimeGatherData;

    public void setID(Long ID) {
        this.ID = ID;
    }

    public Long getID() {
        return ID;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setMn(String mn) {
        this.mn = mn;
    }

    public String getMn() {
        return mn;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setMonStationsName(String monStationsName) {
        this.monStationsName = monStationsName;
    }

    public String getMonStationsName() {
        return monStationsName;
    }

    public void setInstallDate(Date installDate) {
        this.installDate = installDate;
    }

    public Date getInstallDate() {
        return installDate;
    }

    public void setInstallationAddress(String installationAddress) {
        this.installationAddress = installationAddress;
    }

    public String getInstallationAddress() {
        return installationAddress;
    }

    public void setManufactureDate(Date manufactureDate) {
        this.manufactureDate = manufactureDate;
    }

    public Date getManufactureDate() {
        return manufactureDate;
    }

    public void setReadingFrequency(Long readingFrequency) {
        this.readingFrequency = readingFrequency;
    }

    public Long getReadingFrequency() {
        return readingFrequency;
    }

    public void setUpFrequency(Long upFrequency) {
        this.upFrequency = upFrequency;
    }

    public Long getUpFrequency() {
        return upFrequency;
    }

    public void setDeleteMark(Long deleteMark) {
        this.deleteMark = deleteMark;
    }

    public Long getDeleteMark() {
        return deleteMark;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLng() {
        return lng;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLat() {
        return lat;
    }

    public void setLngLatTemp(String lngLatTemp) {
        this.lngLatTemp = lngLatTemp;
    }

    public String getLngLatTemp() {
        return lngLatTemp;
    }

    public void setSysTime(Date sysTime) {
        this.sysTime = sysTime;
    }

    public Date getSysTime() {
        return sysTime;
    }

    public WqRealtimegatherdata getRealtimeGatherData() {
        return realtimeGatherData;
    }

    public void setRealtimeGatherData(WqRealtimegatherdata realtimeGatherData) {
        this.realtimeGatherData = realtimeGatherData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ID", getID())
                .append("tenantId", getTenantId())
                .append("mn", getMn())
                .append("areaCode", getAreaCode())
                .append("monStationsName", getMonStationsName())
                .append("installDate", getInstallDate())
                .append("installationAddress", getInstallationAddress())
                .append("createTime", getCreateTime())
                .append("manufactureDate", getManufactureDate())
                .append("readingFrequency", getReadingFrequency())
                .append("upFrequency", getUpFrequency())
                .append("deleteMark", getDeleteMark())
                .append("remark", getRemark())
                .append("lng", getLng())
                .append("lat", getLat())
                .append("lngLatTemp", getLngLatTemp())
                .append("sysTime", getSysTime())
                .toString();
    }
}
